.class public Llt/noframe/gpsfarmguide/TestTimeUtility;
.super Ljava/lang/Object;
.source "TestTimeUtility.java"


# instance fields
.field private finish:J

.field private start:J


# direct methods
.method public constructor <init>()V
    .locals 0

    .line 34
    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method


# virtual methods
.method public finish(Ljava/lang/String;)Ljava/lang/String;
    .locals 4

    .line 51
    invoke-static {}, Ljava/lang/System;->currentTimeMillis()J

    move-result-wide v0

    iput-wide v0, p0, Llt/noframe/gpsfarmguide/TestTimeUtility;->finish:J

    .line 52
    iget-wide v0, p0, Llt/noframe/gpsfarmguide/TestTimeUtility;->finish:J

    iget-wide v2, p0, Llt/noframe/gpsfarmguide/TestTimeUtility;->start:J

    sub-long/2addr v0, v2

    .line 53
    new-instance v2, Ljava/lang/StringBuilder;

    invoke-direct {v2}, Ljava/lang/StringBuilder;-><init>()V

    invoke-virtual {v2, p1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    const-string p1, " :"

    invoke-virtual {v2, p1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-static {v0, v1}, Ljava/lang/String;->valueOf(J)Ljava/lang/String;

    move-result-object p1

    invoke-virtual {v2, p1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {v2}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object p1

    return-object p1
.end method

.method public finishToCatLog(Ljava/lang/String;)V
    .locals 1

    .line 65
    invoke-virtual {p0, p1}, Llt/noframe/gpsfarmguide/TestTimeUtility;->finish(Ljava/lang/String;)Ljava/lang/String;

    move-result-object p1

    const-string v0, "TimeTest"

    invoke-static {v0, p1}, Landroid/util/Log;->i(Ljava/lang/String;Ljava/lang/String;)I

    return-void
.end method

.method public start()V
    .locals 2

    .line 41
    invoke-static {}, Ljava/lang/System;->currentTimeMillis()J

    move-result-wide v0

    iput-wide v0, p0, Llt/noframe/gpsfarmguide/TestTimeUtility;->start:J

    return-void
.end method
